package com.yu.demo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: WengYu
 * @CreateTime: 2022/05/31 15:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo implements Serializable {
    private Long id;

    private String code;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
}
